home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 52
/
Aminet 52 (2002)(GTI - Schatztruhe)[!][Dec 2002].iso
/
Aminet
/
util
/
moni
/
Scout-src.lha
/
source
/
scout_net_protos.h
< prev
next >
Wrap
C/C++ Source or Header
|
2002-09-16
|
2KB
|
97 lines
/**
* Scout - The Amiga System Monitor
*
*------------------------------------------------------------------
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* You must not use this source code to gain profit of any kind!
*
*------------------------------------------------------------------
*
* @author Andreas Gelhausen
* @author Richard Körber <rkoerber@gmx.de>
*/
/* Prototypes for functions defined in
scout_net.c
*/
extern char * CMD_BEGIN;
extern char * CMD_USER;
extern char * CMD_PASSWORD;
extern char * CMD_END;
extern char * CMD_DONE;
extern char * CMD_ERROR;
extern char * CMD_CONNECTED;
extern int server_socket;
extern int client_socket;
extern BOOL clientstate;
extern BOOL serverstate;
extern BOOL shellstate;
extern char username[11];
extern char password[129];
void failtcp(void);
int inittcp(void);
int sgets(int , char * , int );
void PrintNetHelp(void);
extern struct Net_Command net_list[77];
int __stdargs SendDaemon(char * , ...);
int ReceiveDecodedEntry(UBYTE * , int );
int ConnectToServer(void);
ULONG netshellclient(void);
int isNetCall(void);
int isCommand(char * , char * );
int __stdargs SendClient(char * , ...);
int SendEncodedEntry(UBYTE * , int );
long __stdargs SendResultString(char * , ...);
int PrintOneLine(BPTR , char * );
ULONG ExecuteCommand(char * );
ULONG netdaemon(void);
int __stdargs MyDoCommand(char * , ...);